API Documentation
DefaultDeallocator.h
1 // DefaultDeallocator.h
3 //
5 
6 namespace nkMemory
7 {
11  template <typename T>
12  class DefaultDeallocator final : public Deallocator<T>
13  {
14  public :
15 
19  DefaultDeallocator () = default ;
23  ~DefaultDeallocator () = default ;
24 
31  virtual void deallocate (T* object) override ;
32  } ;
33 }
nkMemory::DefaultDeallocator::deallocate
virtual void deallocate(T *object) override
nkMemory::DefaultDeallocator::~DefaultDeallocator
~DefaultDeallocator()=default
nkMemory::DefaultDeallocator
A utility default deallocator using a simple call to delete.
Definition: DefaultDeallocator.h:13
nkMemory::DefaultDeallocator::DefaultDeallocator
DefaultDeallocator()=default
nkMemory::Deallocator
Interface used for deallocating memory.
Definition: Deallocator.h:13
nkMemory
Encompasses all API of component NilkinsMemory.
Definition: Allocator.h:7